﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MLoboSTI.Truco
{
    public class Naipe
    {
        public static Naipe OUROS = new Naipe(1);
        public static Naipe ESPADAS = new Naipe(2);
        public static Naipe COPAS = new Naipe(3);
        public static Naipe PAUS = new Naipe(4);

        private static Naipe[] naipes = { OUROS, ESPADAS, COPAS, PAUS };
        private int codigo;

        private Naipe(int codigo)
        {            
            this.codigo = codigo;
        }

        public static Naipe[] ObterTodosNaipes()
        {
            return naipes;
        }        
    }
}
